<!-- search area   -->
<div class="row searchLineWrap">
	<form class="form-horizontal" method="post" action="${cxt!}/platform/errorCode/list" id="searchForm">
		  <div class="row">
		    <div class="col-md-5">
		      <div class="form-group">
		         <label  class="col-md-4 control-label">${_res["systemManage.errorCode"]}</label>
		         <div class="col-md-8">
		            <input type="text" class="form-control" name="errorCode.l_errorcode" placeholder="${_res["systemManage.errorCode"]}" value="${paramMap['errorCode.l_errorcode']}"/>
		         </div>
		       </div>
		    </div>
	    

			<div class="col-md-5">
				<div class="form-group">
					<label class="col-md-4 control-label">${_res["systemManage.returnType"]}</label>
					<div class="col-md-8">
						<!-- 	<#dict type="select" name="errorCode.f_returntype" dictCode="RETRUN_TYPE" value="${paramMap['errorCode.f_returntype']}" /> -->
							<#dict type="select" name="errorCode.f_returntype"   dictCode="RETURN_TYPE"  value="${paramMap['errorCode.f_returntype']}" />
					</div>
				</div>
			</div>
			
			<div class="col-md-2">
		        <div class="form-group">
		          <button type="button" class="btn btn-primary pull-left" onclick="ajaxForm('content','searchForm')">
		          <i class="fa fa-search m-l-sm m-r-xs"></i>${_res["system.search"]}</button>
		        </div>
		    </div>
	  </div>
	</form>
</div>
<!-- search area end  -->

<div class="row searchLineWrap">
	<% if(hasPrivilegeUrl("errorCodeAdd")){ %>
		<p><a href="javascript:void(0);" onClick="ajaxContent('/platform/errorCode/add/a');" class="btn btn-primary pull-left">${_res["systemManage.addErrorCode"]}</a><div class="clearfix"></div></p>
	<% } %>
	<table class="table  table-bordered table-hover dataTables-example">
	    <thead>
	        <tr>
	            <th>${_res["systemManage.errorCode"]}</th>
	            <th>${_res["systemManage.returnType"]}</th>
	            <th>${_res["systemManage.errorMessageCn"]}</th>
	            <th>${_res["systemManage.errorUrl"]}</th>
	            <th>${_res["systemManage.filedName"]}</th>
	            <th>${_res["system.operator"]}</th>
	         </tr>
	    </thead>
	    <tbody>
		    <% for(errorCode in splitPage.list!){ %>
		      <tr >
		            <td>${errorCode.errorcode!}</td>
		            <td><#dict type="lable" value='${errorCode.returntype!}' dictCode="RETURN_TYPE"/></td>
		            <td>${errorCode.message!}</td>
		            <td>${errorCode.errorurl!}</td>
		            <td>${errorCode.filedname!}</td>		            
		            <td>
		            	<% if(hasPrivilegeUrl("errorCodeView")){ %>
		               		<button type="button" class="btn btn-sm btn-link" onClick="ajaxContent('/platform/errorCode/view/${errorCode.id!}');">${_res["system.view"]}</button>
		               	<% } %>
		               	<% if(hasPrivilegeUrl("errorCodeEdit")){ %>
		               		<button type="button" class="btn btn-sm btn-link" onClick="ajaxContent('/platform/errorCode/update/e-${errorCode.id!}')">${_res["system.edit"]}</button>
		               	<% } %>
		               	<% if(hasPrivilegeUrl("errorCodeDelete")){ %>
		               		<button type="button" class="btn btn-sm btn-link" onClick="ajaxDelete('/platform/errorCode/delete/${errorCode.id!}')">${_res["system.delete"]}</button>
		           		<% } %>
		            </td>
		      </tr>
		     <% } %>
	    </tbody>
	</table>
	
	<div id="splitPageDiv">
		<#page formId="searchForm"  />
	</div>
	<#nav />
</div>		



